package com.ruoyi.project.modules.interfaceinfo.controller;

import lombok.AllArgsConstructor;
import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@Controller
@RequestMapping("/interface/interfaceArrange")
@AllArgsConstructor
public class InterfaceArrangeController {

    private static final String prefix = "interface/interfaceArrange";

    @GetMapping()
    public String interfaceArrange(@RequestParam Long interfaceId, ModelMap mmap) {
        mmap.put("interfaceId", interfaceId);
        return prefix + "/interfaceArrange";
    }
}